package com.lee.app.service.impl;

import com.lee.app.entity.UserNo;
import com.lee.app.mapper.UserNoMapper;
import com.lee.app.service.UserNoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author Lee
 */
@Service
public class UserNoServiceImpl implements UserNoService {


    @Autowired
    private UserNoMapper userNoMapper;

    @Override
    public UserNo selectByStatus(Integer status) {

        return userNoMapper.selectByStatus(status);
    }

    @Override
    public void updateStatusById(Integer status, Integer id) {

        userNoMapper.updateStatusById(status, id);
    }
}
